package cn.edu.ujn.ssm.domain;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.ujn.ssm.dao.Customer;
import cn.edu.ujn.ssm.dao.CustomerMapper;
@Service
@Transactional
public class CustomerDomainImpl implements ICustomerDomain {
	@Autowired
	private CustomerMapper customDao;

	@Override
	public Customer findById(Integer id) {
		// TODO Auto-generated method stub
		return this.customDao.selectByPrimaryKey(id);
	}

}
